package com.gf.exam.dao;

import java.util.List;
import java.util.Map;

import com.gf.exam.model.AnswerCell;

public interface AnswerCellDao {

	/**
	 * 批量插入
	 * @param cellNo
	 * @param answerId
	 * @param answerRight
	 * @param mouseAction
	 * @param inputAction
	 * @param rt
	 * @return
	 */
	public int insertBatch(int cellNo,long answerId, String[] answerRight,
			String[] mouseAction, String[] inputAction, String[] rt);
	
	
	/**
	 * 某用户的答卷详情
	 * @param answerId
	 * @return
	 */
	public List<AnswerCell> queryAnswerCells(long answerId);
	
	
	/**
	 * 多个查询
	 * @param answerIds
	 * @return
	 */
	public Map<Long, List<AnswerCell>> queryAnswerCells(List<Long> answerIds);
}
